{include file="admin/top.php" subject='general'}
<div id="content">
  <form method="post">
    <table width="100%" border="0" cellpadding="5" cellspacing="0" id="editor">
    
    <tr>
        <td colspan="3">
       		 <span style="font-size:14px;line-height:25px;">当前设定管理员：
       		 <span style="color:red">({$smarty.get.setting_admin|default:'您自己'})
        </td>
      </tr>
    
    
      <tr>
        <td width="200" class="title">设定管理员可操作仓库:</td>
        <td width="240" class="content">{general limit=1 setting_admin=$smarty.get.setting_admin}{assign var='general_id' value=$general.id}{assign var='general_shopid' value=$general.shopid}{/general}<select name="shopid" style="width:180px;"><option value="0">全部仓库</option>{shops}<option value="{$shops.id}" {if $shops.id==$general_shopid}selected{/if} >{$shops.title}</option>{/shops}</select></td>
        <td class="content">
        </td>
      </tr>
    </table>
    
    <div class="fr mt10">
    <input type="submit" value="确定" class="btn" />
    <input name="id" type="hidden" id="id" value="{$general_id}" />
    <input name="referer" type="hidden" id="referer" value="{$smarty.post.referer|default:$smarty.server.HTTP_REFERER:1}" />
    <input name="setting_admin" type="hidden" id="setting_admin" value="{$smarty.get.setting_admin}" />
    <input name="action" type="hidden" id="action" value="modify" />
    
    </div>

  </form>
</div>
{include file="admin/bottom.php"}
</body>
</html>